package systemServer.general;

import java.rmi.Remote; 
import java.rmi.RemoteException;
import java.util.List;

import dto.MemberDTO;
import dto.RecomendationDTO;
import dto.SongDTO;
import dto.SongInfoDTO;

public interface IConnection extends Remote {
	public List<RecomendationDTO> showRecomendationList() throws RemoteException;
	
	public List<SongInfoDTO> getFavouriteList() throws RemoteException;
	
	public List<SongInfoDTO> getPermanentList() throws RemoteException;
	
	public void addFavourite(SongInfoDTO song) throws RemoteException;
	
	public void addPermanent(SongInfoDTO song) throws RemoteException;
	
	public void recomendSong(SongInfoDTO song, MemberDTO targetMember) throws RemoteException;
	
	public String playRecomendation(SongInfoDTO sid, MemberDTO md) throws RemoteException;
	
	public SongDTO play(SongInfoDTO sid, MemberDTO md) throws RemoteException;
	
	public List<SongInfoDTO> searchArtist(String artist) throws RemoteException;
}
